from sqlalchemy import Column, String, DECIMAL, Integer

from common.database import BaseTable


class DayAheadPlanResource(BaseTable):
    __tablename__ = "day_ahead_plan_resource"
    invitation_id = Column(String(64), comment="邀约id")
    key = Column(String(64), comment="key值")
    value = Column(DECIMAL(10, 2), comment="value 值")
    resource_id = Column(String(64), comment="资源id")
    handle_status = Column(Integer, comment="处理状态,0:未处理,1:已处理", default=0)
